#include "head_s.h"


// 启动子线程
int init_thread(status_t * statu){

    LOG_WRITE(LOG_ERROR,"");
    for(int i=0; i<statu->num ; i++){
        int ret = pthread_create(&statu->thread_ids[i], 
                       NULL,
                       thread_main,
                       statu);
        LOG_WRITE(LOG_ERROR, "%d\n", ret);
    }

    return 0;
}


